package com.ruoyi.fengkong.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 风控公寓授信主对象 t_fk_business_credit
 * 
 * @author wish
 * @date 2021-06-19
 */
public class TFkBusinessCredit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商户id */
    @Excel(name = "商户id")
    private Long businessId;

    /** 商户注册日期 */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "商户注册日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerDate;

    /** 商户注册资本金 */
    @Excel(name = "商户注册资本金")
    private BigDecimal registerCapital;

    /** 授信状态，1：已授信、2：未授信 */
    @Excel(name = "授信状态，1：已授信、2：未授信")
    private Integer creditStaus;

    /** 应花分期使用 */
    @Excel(name = "应花分期使用")
    private String appid;

    /** 海链总授信额度 */
    @Excel(name = "海链总授信额度")
    private BigDecimal hlTotalCreditline;

    /** 海链已用授信额度 */
    @Excel(name = "已用授信额度")
    private BigDecimal hlUsedCreditline;

    /** 海链月授信额度 */
    @Excel(name = "海链月授信额度")
    private BigDecimal hlMonthlyTotalCreditline;

    /** 海链月已用授信额度 */
    @Excel(name = "海链月已用授信额度")
    private BigDecimal hlMonthlyUsedCreditline;

    /** 预留字段1 */
    @Excel(name = "预留字段1")
    private BigDecimal reserve1;

    /** 预留字段2 */
    @Excel(name = "预留字段2")
    private Long reserve2;

    /** 预留字段3 */
    @Excel(name = "预留字段3")
    private String reserve3;

    /** 预留字段4 */
    @Excel(name = "预留字段4")
    private String reserve4;

    /** 预留字段5 */
    @Excel(name = "预留字段5")
    private String reserve5;

    /** 删除标识   0：未删除、1：删除 */
    @Excel(name = "删除标识   0：未删除、1：删除")
    private Integer delFlg;

    /** 创建用户id */
    @Excel(name = "创建用户id")
    private Long createUserid;

    /** 更新用户id */
    @Excel(name = "更新用户id")
    private Long updateUserid;
    @Excel(name = "创建用户名称id")
    private Long capitalId;
    @Excel(name = "创建用户名称")
    private String companyName;

    @Excel(name = "用户名称")
    private String businessName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    public void setRegisterDate(Date registerDate) 
    {
        this.registerDate = registerDate;
    }

    public Date getRegisterDate() 
    {
        return registerDate;
    }
    public void setRegisterCapital(BigDecimal registerCapital) 
    {
        this.registerCapital = registerCapital;
    }

    public BigDecimal getRegisterCapital() 
    {
        return registerCapital;
    }
    public void setCreditStaus(Integer creditStaus) 
    {
        this.creditStaus = creditStaus;
    }

    public Integer getCreditStaus() 
    {
        return creditStaus;
    }
    public void setAppid(String appid) 
    {
        this.appid = appid;
    }

    public String getAppid() 
    {
        return appid;
    }
    public void setHlTotalCreditline(BigDecimal hlTotalCreditline) 
    {
        this.hlTotalCreditline = hlTotalCreditline;
    }

    public BigDecimal getHlTotalCreditline() 
    {
        return hlTotalCreditline;
    }
    public void setHlUsedCreditline(BigDecimal hlUsedCreditline) 
    {
        this.hlUsedCreditline = hlUsedCreditline;
    }

    public BigDecimal getHlUsedCreditline() 
    {
        return hlUsedCreditline;
    }
    public void setHlMonthlyTotalCreditline(BigDecimal hlMonthlyTotalCreditline) 
    {
        this.hlMonthlyTotalCreditline = hlMonthlyTotalCreditline;
    }

    public BigDecimal getHlMonthlyTotalCreditline() 
    {
        return hlMonthlyTotalCreditline;
    }
    public void setHlMonthlyUsedCreditline(BigDecimal hlMonthlyUsedCreditline) 
    {
        this.hlMonthlyUsedCreditline = hlMonthlyUsedCreditline;
    }

    public BigDecimal getHlMonthlyUsedCreditline() 
    {
        return hlMonthlyUsedCreditline;
    }
    public void setReserve1(BigDecimal reserve1) 
    {
        this.reserve1 = reserve1;
    }

    public BigDecimal getReserve1() 
    {
        return reserve1;
    }
    public void setReserve2(Long reserve2) 
    {
        this.reserve2 = reserve2;
    }

    public Long getReserve2() 
    {
        return reserve2;
    }
    public void setReserve3(String reserve3) 
    {
        this.reserve3 = reserve3;
    }

    public String getReserve3() 
    {
        return reserve3;
    }
    public void setReserve4(String reserve4) 
    {
        this.reserve4 = reserve4;
    }

    public String getReserve4() 
    {
        return reserve4;
    }
    public void setReserve5(String reserve5) 
    {
        this.reserve5 = reserve5;
    }

    public String getReserve5() 
    {
        return reserve5;
    }
    public void setDelFlg(Integer delFlg) 
    {
        this.delFlg = delFlg;
    }

    public Integer getDelFlg() 
    {
        return delFlg;
    }
    public void setCreateUserid(Long createUserid) 
    {
        this.createUserid = createUserid;
    }

    public Long getCreateUserid() 
    {
        return createUserid;
    }
    public void setUpdateUserid(Long updateUserid) 
    {
        this.updateUserid = updateUserid;
    }

    public Long getUpdateUserid() 
    {
        return updateUserid;
    }

    public String getBusinessName() {
        return businessName;
    }



    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    @Override
    public String toString() {
        return "TFkBusinessCredit{" +
                "id=" + id +
                ", businessId=" + businessId +
                ", registerDate=" + registerDate +
                ", registerCapital=" + registerCapital +
                ", creditStaus=" + creditStaus +
                ", appid='" + appid + '\'' +
                ", hlTotalCreditline=" + hlTotalCreditline +
                ", hlUsedCreditline=" + hlUsedCreditline +
                ", hlMonthlyTotalCreditline=" + hlMonthlyTotalCreditline +
                ", hlMonthlyUsedCreditline=" + hlMonthlyUsedCreditline +
                ", reserve1=" + reserve1 +
                ", reserve2=" + reserve2 +
                ", reserve3='" + reserve3 + '\'' +
                ", reserve4='" + reserve4 + '\'' +
                ", reserve5='" + reserve5 + '\'' +
                ", delFlg=" + delFlg +
                ", createUserid=" + createUserid +
                ", updateUserid=" + updateUserid +
                ", companyName='" + companyName + '\'' +
                ", businessName='" + businessName + '\'' +
                '}';
    }
}
